<?php
$this->breadcrumbs=array(
	$valname,
);

$this->menu=array(
	
);
?>

<h1><?=$valname?></h1>


<div class="">
<?php echo CHtml::form('','post'); ?>
 
<?php echo CHtml::errorSummary($model);?>

<div class="">
<?php $this->widget('ext.ckeditor.CKEditorWidget',array(
  "model"=>$model,                 # Data-Model
  "attribute"=>'c_value',          # Attribute in the Data-Model
  "defaultValue"=>$model->c_value,     # Optional

  # Additional Parameter (Check http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html)
  "config" => array(
      "height"=>"742px",
      "width"=>"742px",
      "toolbar"=>"Full",
      ),

  #Optional address settings if you did not copy ckeditor on application root
  "ckEditor"=>Yii::app()->basePath."/../ckeditor/ckeditor.php",
                                  # Path to ckeditor.php
  "ckBasePath"=>Yii::app()->baseUrl."/ckeditor/",
                                  # Realtive Path to the Editor (from Web-Root)
  ) ); ?>
</div>
 
<div class="action">
<?php echo CHtml::submitButton('提交',array('class'=>'btn btn-primary')); ?>
</div>
 
</form>
</div><!-- yii表单 -->